#include "common/pch.h"
#include "object/bag.h"

namespace battle::object
{

    Item* Bag::GetItemByPos(unsigned char slot) const
    {
        if (slot < GetBagSize())
        {
            return m_bagslot[slot];
        }

        return NULL;
    }

}